package com.sl.mes.db.vo;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.Arrays;

public class BdPsnjob {
    private String pkPsnjob;

    private Integer dataoriginflag;

    private String def1;

    private String def10;

    private String def11;

    private String def12;

    private String def13;

    private String def14;

    private String def15;

    private String def16;

    private String def17;

    private String def18;

    private String def19;

    private String def2;

    private String def20;

    private String def3;

    private String def4;

    private String def5;

    private String def6;

    private String def7;

    private String def8;

    private String def9;

    private Integer dr;

    private String enddutydate;

    private String indutydate;

    private String ismainjob;

    private String jobname;

    private String pkDept;

    private String pkGroup;

    private String pkJob;

    private String pkOrg;

    private String pkPost;

    private String pkPsncl;

    private String pkPsndoc;

    private String psncode;

    private Integer showorder;

    private LocalDateTime ts;

    private String worktype;

    public String getPkPsnjob() {
        return pkPsnjob;
    }

    public void setPkPsnjob(String pkPsnjob) {
        this.pkPsnjob = pkPsnjob;
    }

    public Integer getDataoriginflag() {
        return dataoriginflag;
    }

    public void setDataoriginflag(Integer dataoriginflag) {
        this.dataoriginflag = dataoriginflag;
    }

    public String getDef1() {
        return def1;
    }

    public void setDef1(String def1) {
        this.def1 = def1;
    }

    public String getDef10() {
        return def10;
    }

    public void setDef10(String def10) {
        this.def10 = def10;
    }

    public String getDef11() {
        return def11;
    }

    public void setDef11(String def11) {
        this.def11 = def11;
    }

    public String getDef12() {
        return def12;
    }

    public void setDef12(String def12) {
        this.def12 = def12;
    }

    public String getDef13() {
        return def13;
    }

    public void setDef13(String def13) {
        this.def13 = def13;
    }

    public String getDef14() {
        return def14;
    }

    public void setDef14(String def14) {
        this.def14 = def14;
    }

    public String getDef15() {
        return def15;
    }

    public void setDef15(String def15) {
        this.def15 = def15;
    }

    public String getDef16() {
        return def16;
    }

    public void setDef16(String def16) {
        this.def16 = def16;
    }

    public String getDef17() {
        return def17;
    }

    public void setDef17(String def17) {
        this.def17 = def17;
    }

    public String getDef18() {
        return def18;
    }

    public void setDef18(String def18) {
        this.def18 = def18;
    }

    public String getDef19() {
        return def19;
    }

    public void setDef19(String def19) {
        this.def19 = def19;
    }

    public String getDef2() {
        return def2;
    }

    public void setDef2(String def2) {
        this.def2 = def2;
    }

    public String getDef20() {
        return def20;
    }

    public void setDef20(String def20) {
        this.def20 = def20;
    }

    public String getDef3() {
        return def3;
    }

    public void setDef3(String def3) {
        this.def3 = def3;
    }

    public String getDef4() {
        return def4;
    }

    public void setDef4(String def4) {
        this.def4 = def4;
    }

    public String getDef5() {
        return def5;
    }

    public void setDef5(String def5) {
        this.def5 = def5;
    }

    public String getDef6() {
        return def6;
    }

    public void setDef6(String def6) {
        this.def6 = def6;
    }

    public String getDef7() {
        return def7;
    }

    public void setDef7(String def7) {
        this.def7 = def7;
    }

    public String getDef8() {
        return def8;
    }

    public void setDef8(String def8) {
        this.def8 = def8;
    }

    public String getDef9() {
        return def9;
    }

    public void setDef9(String def9) {
        this.def9 = def9;
    }

    public Integer getDr() {
        return dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }

    public String getEnddutydate() {
        return enddutydate;
    }

    public void setEnddutydate(String enddutydate) {
        this.enddutydate = enddutydate;
    }

    public String getIndutydate() {
        return indutydate;
    }

    public void setIndutydate(String indutydate) {
        this.indutydate = indutydate;
    }

    public String getIsmainjob() {
        return ismainjob;
    }

    public void setIsmainjob(String ismainjob) {
        this.ismainjob = ismainjob;
    }

    public String getJobname() {
        return jobname;
    }

    public void setJobname(String jobname) {
        this.jobname = jobname;
    }

    public String getPkDept() {
        return pkDept;
    }

    public void setPkDept(String pkDept) {
        this.pkDept = pkDept;
    }

    public String getPkGroup() {
        return pkGroup;
    }

    public void setPkGroup(String pkGroup) {
        this.pkGroup = pkGroup;
    }

    public String getPkJob() {
        return pkJob;
    }

    public void setPkJob(String pkJob) {
        this.pkJob = pkJob;
    }

    public String getPkOrg() {
        return pkOrg;
    }

    public void setPkOrg(String pkOrg) {
        this.pkOrg = pkOrg;
    }

    public String getPkPost() {
        return pkPost;
    }

    public void setPkPost(String pkPost) {
        this.pkPost = pkPost;
    }

    public String getPkPsncl() {
        return pkPsncl;
    }

    public void setPkPsncl(String pkPsncl) {
        this.pkPsncl = pkPsncl;
    }

    public String getPkPsndoc() {
        return pkPsndoc;
    }

    public void setPkPsndoc(String pkPsndoc) {
        this.pkPsndoc = pkPsndoc;
    }

    public String getPsncode() {
        return psncode;
    }

    public void setPsncode(String psncode) {
        this.psncode = psncode;
    }

    public Integer getShoworder() {
        return showorder;
    }

    public void setShoworder(Integer showorder) {
        this.showorder = showorder;
    }

    public LocalDateTime getTs() {
        return ts;
    }

    public void setTs(LocalDateTime ts) {
        this.ts = ts;
    }

    public String getWorktype() {
        return worktype;
    }

    public void setWorktype(String worktype) {
        this.worktype = worktype;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", pkPsnjob=").append(pkPsnjob);
        sb.append(", dataoriginflag=").append(dataoriginflag);
        sb.append(", def1=").append(def1);
        sb.append(", def10=").append(def10);
        sb.append(", def11=").append(def11);
        sb.append(", def12=").append(def12);
        sb.append(", def13=").append(def13);
        sb.append(", def14=").append(def14);
        sb.append(", def15=").append(def15);
        sb.append(", def16=").append(def16);
        sb.append(", def17=").append(def17);
        sb.append(", def18=").append(def18);
        sb.append(", def19=").append(def19);
        sb.append(", def2=").append(def2);
        sb.append(", def20=").append(def20);
        sb.append(", def3=").append(def3);
        sb.append(", def4=").append(def4);
        sb.append(", def5=").append(def5);
        sb.append(", def6=").append(def6);
        sb.append(", def7=").append(def7);
        sb.append(", def8=").append(def8);
        sb.append(", def9=").append(def9);
        sb.append(", dr=").append(dr);
        sb.append(", enddutydate=").append(enddutydate);
        sb.append(", indutydate=").append(indutydate);
        sb.append(", ismainjob=").append(ismainjob);
        sb.append(", jobname=").append(jobname);
        sb.append(", pkDept=").append(pkDept);
        sb.append(", pkGroup=").append(pkGroup);
        sb.append(", pkJob=").append(pkJob);
        sb.append(", pkOrg=").append(pkOrg);
        sb.append(", pkPost=").append(pkPost);
        sb.append(", pkPsncl=").append(pkPsncl);
        sb.append(", pkPsndoc=").append(pkPsndoc);
        sb.append(", psncode=").append(psncode);
        sb.append(", showorder=").append(showorder);
        sb.append(", ts=").append(ts);
        sb.append(", worktype=").append(worktype);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BdPsnjob other = (BdPsnjob) that;
        return (this.getPkPsnjob() == null ? other.getPkPsnjob() == null : this.getPkPsnjob().equals(other.getPkPsnjob()))
            && (this.getDataoriginflag() == null ? other.getDataoriginflag() == null : this.getDataoriginflag().equals(other.getDataoriginflag()))
            && (this.getDef1() == null ? other.getDef1() == null : this.getDef1().equals(other.getDef1()))
            && (this.getDef10() == null ? other.getDef10() == null : this.getDef10().equals(other.getDef10()))
            && (this.getDef11() == null ? other.getDef11() == null : this.getDef11().equals(other.getDef11()))
            && (this.getDef12() == null ? other.getDef12() == null : this.getDef12().equals(other.getDef12()))
            && (this.getDef13() == null ? other.getDef13() == null : this.getDef13().equals(other.getDef13()))
            && (this.getDef14() == null ? other.getDef14() == null : this.getDef14().equals(other.getDef14()))
            && (this.getDef15() == null ? other.getDef15() == null : this.getDef15().equals(other.getDef15()))
            && (this.getDef16() == null ? other.getDef16() == null : this.getDef16().equals(other.getDef16()))
            && (this.getDef17() == null ? other.getDef17() == null : this.getDef17().equals(other.getDef17()))
            && (this.getDef18() == null ? other.getDef18() == null : this.getDef18().equals(other.getDef18()))
            && (this.getDef19() == null ? other.getDef19() == null : this.getDef19().equals(other.getDef19()))
            && (this.getDef2() == null ? other.getDef2() == null : this.getDef2().equals(other.getDef2()))
            && (this.getDef20() == null ? other.getDef20() == null : this.getDef20().equals(other.getDef20()))
            && (this.getDef3() == null ? other.getDef3() == null : this.getDef3().equals(other.getDef3()))
            && (this.getDef4() == null ? other.getDef4() == null : this.getDef4().equals(other.getDef4()))
            && (this.getDef5() == null ? other.getDef5() == null : this.getDef5().equals(other.getDef5()))
            && (this.getDef6() == null ? other.getDef6() == null : this.getDef6().equals(other.getDef6()))
            && (this.getDef7() == null ? other.getDef7() == null : this.getDef7().equals(other.getDef7()))
            && (this.getDef8() == null ? other.getDef8() == null : this.getDef8().equals(other.getDef8()))
            && (this.getDef9() == null ? other.getDef9() == null : this.getDef9().equals(other.getDef9()))
            && (this.getDr() == null ? other.getDr() == null : this.getDr().equals(other.getDr()))
            && (this.getEnddutydate() == null ? other.getEnddutydate() == null : this.getEnddutydate().equals(other.getEnddutydate()))
            && (this.getIndutydate() == null ? other.getIndutydate() == null : this.getIndutydate().equals(other.getIndutydate()))
            && (this.getIsmainjob() == null ? other.getIsmainjob() == null : this.getIsmainjob().equals(other.getIsmainjob()))
            && (this.getJobname() == null ? other.getJobname() == null : this.getJobname().equals(other.getJobname()))
            && (this.getPkDept() == null ? other.getPkDept() == null : this.getPkDept().equals(other.getPkDept()))
            && (this.getPkGroup() == null ? other.getPkGroup() == null : this.getPkGroup().equals(other.getPkGroup()))
            && (this.getPkJob() == null ? other.getPkJob() == null : this.getPkJob().equals(other.getPkJob()))
            && (this.getPkOrg() == null ? other.getPkOrg() == null : this.getPkOrg().equals(other.getPkOrg()))
            && (this.getPkPost() == null ? other.getPkPost() == null : this.getPkPost().equals(other.getPkPost()))
            && (this.getPkPsncl() == null ? other.getPkPsncl() == null : this.getPkPsncl().equals(other.getPkPsncl()))
            && (this.getPkPsndoc() == null ? other.getPkPsndoc() == null : this.getPkPsndoc().equals(other.getPkPsndoc()))
            && (this.getPsncode() == null ? other.getPsncode() == null : this.getPsncode().equals(other.getPsncode()))
            && (this.getShoworder() == null ? other.getShoworder() == null : this.getShoworder().equals(other.getShoworder()))
            && (this.getTs() == null ? other.getTs() == null : this.getTs().equals(other.getTs()))
            && (this.getWorktype() == null ? other.getWorktype() == null : this.getWorktype().equals(other.getWorktype()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPkPsnjob() == null) ? 0 : getPkPsnjob().hashCode());
        result = prime * result + ((getDataoriginflag() == null) ? 0 : getDataoriginflag().hashCode());
        result = prime * result + ((getDef1() == null) ? 0 : getDef1().hashCode());
        result = prime * result + ((getDef10() == null) ? 0 : getDef10().hashCode());
        result = prime * result + ((getDef11() == null) ? 0 : getDef11().hashCode());
        result = prime * result + ((getDef12() == null) ? 0 : getDef12().hashCode());
        result = prime * result + ((getDef13() == null) ? 0 : getDef13().hashCode());
        result = prime * result + ((getDef14() == null) ? 0 : getDef14().hashCode());
        result = prime * result + ((getDef15() == null) ? 0 : getDef15().hashCode());
        result = prime * result + ((getDef16() == null) ? 0 : getDef16().hashCode());
        result = prime * result + ((getDef17() == null) ? 0 : getDef17().hashCode());
        result = prime * result + ((getDef18() == null) ? 0 : getDef18().hashCode());
        result = prime * result + ((getDef19() == null) ? 0 : getDef19().hashCode());
        result = prime * result + ((getDef2() == null) ? 0 : getDef2().hashCode());
        result = prime * result + ((getDef20() == null) ? 0 : getDef20().hashCode());
        result = prime * result + ((getDef3() == null) ? 0 : getDef3().hashCode());
        result = prime * result + ((getDef4() == null) ? 0 : getDef4().hashCode());
        result = prime * result + ((getDef5() == null) ? 0 : getDef5().hashCode());
        result = prime * result + ((getDef6() == null) ? 0 : getDef6().hashCode());
        result = prime * result + ((getDef7() == null) ? 0 : getDef7().hashCode());
        result = prime * result + ((getDef8() == null) ? 0 : getDef8().hashCode());
        result = prime * result + ((getDef9() == null) ? 0 : getDef9().hashCode());
        result = prime * result + ((getDr() == null) ? 0 : getDr().hashCode());
        result = prime * result + ((getEnddutydate() == null) ? 0 : getEnddutydate().hashCode());
        result = prime * result + ((getIndutydate() == null) ? 0 : getIndutydate().hashCode());
        result = prime * result + ((getIsmainjob() == null) ? 0 : getIsmainjob().hashCode());
        result = prime * result + ((getJobname() == null) ? 0 : getJobname().hashCode());
        result = prime * result + ((getPkDept() == null) ? 0 : getPkDept().hashCode());
        result = prime * result + ((getPkGroup() == null) ? 0 : getPkGroup().hashCode());
        result = prime * result + ((getPkJob() == null) ? 0 : getPkJob().hashCode());
        result = prime * result + ((getPkOrg() == null) ? 0 : getPkOrg().hashCode());
        result = prime * result + ((getPkPost() == null) ? 0 : getPkPost().hashCode());
        result = prime * result + ((getPkPsncl() == null) ? 0 : getPkPsncl().hashCode());
        result = prime * result + ((getPkPsndoc() == null) ? 0 : getPkPsndoc().hashCode());
        result = prime * result + ((getPsncode() == null) ? 0 : getPsncode().hashCode());
        result = prime * result + ((getShoworder() == null) ? 0 : getShoworder().hashCode());
        result = prime * result + ((getTs() == null) ? 0 : getTs().hashCode());
        result = prime * result + ((getWorktype() == null) ? 0 : getWorktype().hashCode());
        return result;
    }

    /**
     * This enum was generated by MyBatis Generator.
     * This enum corresponds to the database table bd_psnjob
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public enum Column {
        pkPsnjob("pk_psnjob", "pkPsnjob", "CHAR", false),
        dataoriginflag("dataoriginflag", "dataoriginflag", "INTEGER", false),
        def1("def1", "def1", "VARCHAR", false),
        def10("def10", "def10", "VARCHAR", false),
        def11("def11", "def11", "VARCHAR", false),
        def12("def12", "def12", "VARCHAR", false),
        def13("def13", "def13", "VARCHAR", false),
        def14("def14", "def14", "VARCHAR", false),
        def15("def15", "def15", "VARCHAR", false),
        def16("def16", "def16", "VARCHAR", false),
        def17("def17", "def17", "VARCHAR", false),
        def18("def18", "def18", "VARCHAR", false),
        def19("def19", "def19", "VARCHAR", false),
        def2("def2", "def2", "VARCHAR", false),
        def20("def20", "def20", "VARCHAR", false),
        def3("def3", "def3", "VARCHAR", false),
        def4("def4", "def4", "VARCHAR", false),
        def5("def5", "def5", "VARCHAR", false),
        def6("def6", "def6", "VARCHAR", false),
        def7("def7", "def7", "VARCHAR", false),
        def8("def8", "def8", "VARCHAR", false),
        def9("def9", "def9", "VARCHAR", false),
        dr("dr", "dr", "INTEGER", false),
        enddutydate("enddutydate", "enddutydate", "CHAR", false),
        indutydate("indutydate", "indutydate", "CHAR", false),
        ismainjob("ismainjob", "ismainjob", "CHAR", false),
        jobname("jobname", "jobname", "VARCHAR", false),
        pkDept("pk_dept", "pkDept", "VARCHAR", false),
        pkGroup("pk_group", "pkGroup", "VARCHAR", false),
        pkJob("pk_job", "pkJob", "VARCHAR", false),
        pkOrg("pk_org", "pkOrg", "VARCHAR", false),
        pkPost("pk_post", "pkPost", "VARCHAR", false),
        pkPsncl("pk_psncl", "pkPsncl", "VARCHAR", false),
        pkPsndoc("pk_psndoc", "pkPsndoc", "CHAR", false),
        psncode("psncode", "psncode", "VARCHAR", false),
        showorder("showorder", "showorder", "INTEGER", false),
        ts("ts", "ts", "TIMESTAMP", false),
        worktype("worktype", "worktype", "VARCHAR", false);

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private static final String BEGINNING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private static final String ENDING_DELIMITER = "`";

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String column;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final boolean isColumnNameDelimited;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String javaProperty;

        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private final String jdbcType;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String value() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getValue() {
            return this.column;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getJavaProperty() {
            return this.javaProperty;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getJdbcType() {
            return this.jdbcType;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
            this.column = column;
            this.javaProperty = javaProperty;
            this.jdbcType = jdbcType;
            this.isColumnNameDelimited = isColumnNameDelimited;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String desc() {
            return this.getEscapedColumnName() + " DESC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String asc() {
            return this.getEscapedColumnName() + " ASC";
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public static Column[] excludes(Column ... excludes) {
            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
            if (excludes != null && excludes.length > 0) {
                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
            }
            return columns.toArray(new Column[]{});
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table bd_psnjob
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public String getEscapedColumnName() {
            if (this.isColumnNameDelimited) {
                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
            } else {
                return this.column;
            }
        }
    }
}